projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e228e0f
)
Revert "tests: skip test-commit-sign.sh when not root"
author
Dan Nicholson
<nicholson@endlessm.com>
Wed, 3 Jun 2015 20:02:41 +0000
(13:02 -0700)
committer
Colin Walters
<walters@verbum.org>
Fri, 5 Jun 2015 00:58:26 +0000
(20:58 -0400)
This reverts commit
d3545b0661f3247cd8c106e64a71052ce9952243
. Since the
test is now using the temporary copy of the gpg homedir, it is no longer
owned by root.
tests/test-commit-sign.sh
patch
|
blob
|
history
diff --git
a/tests/test-commit-sign.sh
b/tests/test-commit-sign.sh
index 886e824a8fe1790f5191e946b741963c5cf138b2..2288d09bd10eb00ebe0c6eec47be12af02360583 100755
(executable)
--- a/
tests/test-commit-sign.sh
+++ b/
tests/test-commit-sign.sh
@@
-23,12
+23,6
@@
if ! ${CMD_PREFIX} ostree --version | grep -q -e '\+gpgme'; then
exit 77
fi
-# Skip the test when non-root as gpgme would not read files owned by
-# another user.
-if test "$(id -u)" != "0"; then
- exit 77
-fi
-
. $(dirname $0)/libtest.sh
keyid="472CDAFA"